package com.zhu.ssm.entity;

public class MobilePhone {
	private Integer mobilePhoneId;
	private String brand;//品牌
	private double price;//价格
	private User user;//主人
	public Integer getMobilePhoneId() {
		return mobilePhoneId;
	}
	public void setMobilePhoneId(Integer mobilePhoneId) {
		this.mobilePhoneId = mobilePhoneId;
	}
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	
	
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	@Override
	public String toString() {
		return "[mobilePhoneId:"+mobilePhoneId+",brand:"+brand+",price:"+price+"]";
	}
	

}
